package Dao;

import entity.Houseinfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface HouseinfoDao {
    public List<Houseinfo> getHouseinfo();
    public Houseinfo getHouseinfoRecent();
    public List<Houseinfo> getHouseinforange(Integer money);
    public List<Houseinfo> getHouseinfoData(@Param("date") Date date,@Param("date1") Date date1);
    public int addHouseinfo(Houseinfo houseinfo);
    public int delHouseinfo(Date date);
    public int updateHouseinfo(Houseinfo houseinfo);
}
